/*
* Conditions Of Use
*
* This software was developed by employees of the Sigmatrix(Beijing) Corporation.
* This software is provided by sigmatrix as a service and is expressly
* provided "AS IS."  Sigmatrix MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
* AND DATA ACCURACY.  Sigmatrix does not warrant or make any representations
* regarding the use of the software or the results thereof, including but
* not limited to the correctness, accuracy, reliability or usefulness of
* the software.
*
* Permission to use this software is contingent upon your acceptance
* of the terms of this agreement.
*
*/
package com.sigmatrix.h5.web.vo;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

import com.sigmatrix.h5.request.Request;

import io.swagger.annotations.ApiModelProperty;

/**
 *@ClassName: QRCodeVo
 *@Description: TODO()
 *@author youjun
 *@date 2017年6月28日 上午11:06:04
 */
public class QRCodeVo extends Request {

	/**
	 *@Fields serialVersionUID : 
	 */
	private static final long serialVersionUID = -7473713081319568062L;

	@ApiModelProperty(value="码级别")
	private Integer operationLevel;
	
	@ApiModelProperty(value="码内容")
	@NotBlank(message="码内容")
	private String code;
	
	@ApiModelProperty(value="码的类型,1、标准码 2、友好码")
	@NotNull(message="码类型")
	private Integer codeType;
	
	@ApiModelProperty(value="操作类型,1出库,2入库")
	@NotNull(message="操作类型不能为空")
	private Integer operationType;
	
	@ApiModelProperty(value="仓库ID")
	private Integer warehouseId;
	
	public QRCodeVo() {
		
	}
	
	public QRCodeVo(final String enterpriseCode, final String code, final Integer codeType) {
		super.setEnterpriseCode(enterpriseCode);
		this.code = code;
		this.codeType = codeType;
	}

	/**
	 *@return the operationType
	 */
	public Integer getOperationType() {
		return operationType;
	}

	/**
	 *@param operationType the operationType to set
	 */
	public void setOperationType(Integer operationType) {
		this.operationType = operationType;
	}

	/**
	 *@return the warehouseId
	 */
	public Integer getWarehouseId() {
		return warehouseId;
	}

	/**
	 *@param warehouseId the warehouseId to set
	 */
	public void setWarehouseId(Integer warehouseId) {
		this.warehouseId = warehouseId;
	}

	/**
	 *@return the operationLevel
	 */
	public Integer getOperationLevel() {
		return operationLevel;
	}

	/**
	 *@param operationLevel the operationLevel to set
	 */
	public void setOperationLevel(Integer operationLevel) {
		this.operationLevel = operationLevel;
	}

	/**
	 *@return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 *@param code the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 *@return the codeType
	 */
	public Integer getCodeType() {
		return codeType;
	}

	/**
	 *@param codeType the codeType to set
	 */
	public void setCodeType(Integer codeType) {
		this.codeType = codeType;
	}
	
}
